import Vue from "vue";

export function login (params) {
    return Vue.axios.post('/user/login', params)
}

export function logout () {
    return Vue.axios.post('/user/logout' )
}

export function userInfo () {
    return Vue.axios.get('/user' )
}
